const { verifyAuth } = require('../middleware/auth.middleware')
const Router = require('koa-router')
const OrdersRouter = new Router({ prefix: '/orders' })
const { getAllOrders } = require('../controller/orders.controller')
OrdersRouter.get('/get_all_orders', verifyAuth, getAllOrders)

module.exports = OrdersRouter